Previous Book Contents Book Index Next

Inside Macintosh: Mac OS 8 Toolbox Reference /
Chapter 3 - Window Manager Reference / Window Manager Resources


The Window Resource

CHANGED WITH THE APPEARANCE MANAGER

You typically define a window ('WIND') resource for each type of window that your application creates. Use GetNewWindow or GetNewCWindow to create a window based on a 'WIND' resource. Both functions create a new window structure and fill it in according to the values specified in the 'WIND' resource.

Note
Window resources must have resource ID numbers greater than 127.
Figure 3-2 illustrates a compiled 'WIND' resource.

Figure 3-2 Structure of a compiled window ('WIND') resource

A compiled version of a window resource contains the following elements:


Previous Book Contents Book Index Next

© Apple Computer, Inc.
8 JAN 1998